package com.example.login.service;


import com.example.login.entity.Order;
import com.example.login.entity.UserAuthCode;

import java.util.List;
import java.util.Map;

//接口
public interface OrderService {
    public List<Map<String, String>> countFreeRooms();
    public List<String> getAllBuildingName();
    public Map<String, String> findUserInfoByUid(int uid);
    public UserAuthCode findIsExistAuthCode(String authCode);
    public List<Map<String, Object>> getDormByOrder(String buildingName, String gender, int num);
    public int updateGrabedRoom(int roomId, int num);
    public Boolean insertAllOrderInfo(int orderId, List<Integer> uid);
    public int findBuildingIdByBuildingName(String buildingName);
    public int insertOrder(Order order);
    public Boolean insertUserDormCorrinfo(int roomID, List<Integer> uid);
}
